home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / programm.ing / rcs56.zoo / rcs / man / merge.txt < prev    next >
Encoding:
Text File  |  1992-01-26  |  1.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4. MERGE(1)        Printed December 19, 1991         MERGE(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      merge - three-way file merge
  10.  
  11. SYNOPSIS
  12.      merge [ -L    label1 [ -L label3 ] ] [ -p ] [    -q ] file1 file2
  13.      file3
  14.  
  15. DESCRIPTION
  16.      merge incorporates    all changes that lead from file2 to file3
  17.      into file1.  The result goes to standard output if    -p is
  18.      present, into file1 otherwise.  merge is useful for
  19.      combining separate    changes    to an original.     Suppose file2 is
  20.      the original, and both file1 and file3 are    modifications of
  21.      file2.  Then merge    combines both changes.
  22.  
  23.      An    overlap    occurs if both file1 and file3 have changes in a
  24.      common segment of lines.  On a few    older hosts where diff3
  25.      does not support the -E option, merge does    not detect
  26.      overlaps, and merely supplies the changed lines from file3.
  27.      On    most hosts, if overlaps    occur, merge outputs a message
  28.      (unless the -q option is given), and includes both
  29.      alternatives in the result.  The alternatives are delimited
  30.      as    follows:
  31.  
  32.       <<<<<<< file1
  33.       lines    in file1
  34.       =======
  35.       lines    in file3
  36.       >>>>>>> file3
  37.  
  38.      If    there are overlaps, the    user should edit the result and
  39.      delete one    of the alternatives.  If the -L    label1 and
  40.      -L    label3 options are given, the labels are output    in place
  41.      of    the names file1    and file3 in overlap reports.
  42.  
  43. DIAGNOSTICS
  44.      Exit status is 0 for no overlaps, 1 for some overlaps, 2 for
  45.      trouble.
  46.  
  47. IDENTIFICATION
  48.      Author: Walter F. Tichy.
  49.      Revision Number: 5.3; Release Date: 1991/02/28.
  50.      Copyright O 1982, 1988, 1989 by Walter F. Tichy.
  51.      Copyright O 1990, 1991 by Paul Eggert.
  52.  
  53. SEE ALSO
  54.      diff3(1), diff(1),    rcsmerge(1), co(1).
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Page 1                     TARGON /35     Operating System
  64.  
  65.  
  66.  
  67. ə